diff options
| author | real-zephex <[email protected]> | 2024-04-24 09:10:40 +0530 |
|---|---|---|
| committer | real-zephex <[email protected]> | 2024-04-24 09:10:40 +0530 |
| commit | eb5afd612a5bfb005ce9d31a2958662a9c62a388 (patch) | |
| tree | ddf34ef2e8b42cb818904edab624f2a3a5d5e5a8 /src/app/manga/[title]/[id] | |
| parent | Made the anime and kdrama titles to cut off after reaching div width. it just... (diff) | |
| download | dramalama-eb5afd612a5bfb005ce9d31a2958662a9c62a388.tar.xz dramalama-eb5afd612a5bfb005ce9d31a2958662a9c62a388.zip | |
the image proxy was not working for some reason so switched it to shashstrom's proxy, here: https://github.com/shashstormer/m3u8_proxy-cors. \nFixed the image width and height for continue watching page.
Diffstat (limited to 'src/app/manga/[title]/[id]')
| -rw-r--r-- | src/app/manga/[title]/[id]/[read]/page.jsx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/app/manga/[title]/[id]/[read]/page.jsx b/src/app/manga/[title]/[id]/[read]/page.jsx index a4181d7..733786e 100644 --- a/src/app/manga/[title]/[id]/[read]/page.jsx +++ b/src/app/manga/[title]/[id]/[read]/page.jsx @@ -20,6 +20,7 @@ export default async function Read({ params }) { let images = [];
for (var i = 0; i < results.chapter.data.length; i++) {
var imgUrl = image_base_url + "/" + results.chapter.data[i];
+ // console.log(imgUrl);
images.push(imgUrl);
}
@@ -32,7 +33,7 @@ export default async function Read({ params }) { images.map((item, index) => (
<div className={styles.Image} key={index}>
<Image
- src={`https://sup-proxy.zephex0-f6c.workers.dev/api-content?url=${item}`}
+ src={`https://cros.shashstorm.in/cors?url=${item}`}
key={index}
alt="Pages"
width={800}
|